interface TableData {
    id: number;
    name: string;
    count: string;
    createDate: string;
    updateData: string;
}

export const tableData: TableData[] = [
    {
        id: 1,
        name: '山停云止',
        count: 'admin',
        createDate: '2023-5-13',
        updateData: '2023-5-12',
    },
    {
        id: 2,
        name: '山停云止',
        count: '123',
        createDate: '2023-5-12',
        updateData: '2023-5-12',
    },
];

interface TableList {
    prop?: string;
    label?: string;
    // 固定 接收 left right
    fixed?: string;
    width?: number;
    sortable?:boolean
}

export const tableList: TableList[] = [
    {
        prop: 'id',
        label: '序号',
        width: 100,
    },
    {
        prop: 'nickName',
        label: '用户名',
    },
    {
        prop: 'username',
        label: '账号',
    },
    {
        prop: 'createTime',
        fixed: 'right',
        label: '创建时间',
        sortable:true
    },
    {
        prop: 'updateTime',
        label: '更新时间',
        sortable:true
    },
];
